home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 19 / CU Amiga Magazine's Super CD-ROM 19 (1998)(EMAP Images)(GB)[!][issue 1998-02].iso / CUCD / Readers / Gui4Cli / Docs / Tutorials / Radio.gc < prev    next >
Text File  |  1997-12-02  |  859b  |  34 lines

  1. G4C
  2.  
  3. WINBIG 155 75 323 101  "Radio.gc"
  4. WinType 11110001
  5. WINbackground solid 3 0
  6.  
  7. BOX 0 0 0 0  OUT RIDGE
  8.  
  9. xonLoad 
  10. GuiOpen Radio.gc
  11.  
  12. xonClose
  13. GuiQuit Radio.gc
  14.  
  15. TEXT 129 2 92 12  'Radio' 6 NOBOX               ;  Headings
  16. TEXT 157 30 92 12  'Current choice' 14 NOBOX
  17.  
  18. ; The Radio gadget and it's Arguments :
  19. ; L  T  W  H  Variable Spacing(i.e. the distance between buttons)
  20.  
  21. XRADIO 92 20 18  9  radvar 6
  22. RSTR London London          ; The fields to be displayed
  23. RSTR Athens Athens          ; with the radio buttons,
  24. RSTR Paris  Paris           ; and the text they'll place into
  25. RSTR Berlin Berlin          ; the "radvar" variable
  26. RSTR Rome   Rome
  27. Update radio.gc 1 $radvar   ; everytime a radio button is hit
  28.                             ; we update the text gadget below.
  29.  
  30. TEXT 155 41 96 12  'London' 14 BOX
  31. ; give it a gadid, sinse we'll be updating it
  32. gadid 1
  33.  
  34.